package com.entor.springboot201912.dao;

import com.entor.springboot201912.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Mapper
public interface StudentDaoI {

    public List<Student> find(Student s);

    public int add(Student student);

    public int edit(Student student);

    public int  remove(@Param(value = "tid") int id);

    public void callProcedure(Map map);

    public void callResultSet(Map map);


}
